package com.hefu.virtuallife.utils;

import android.text.TextUtils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * creat_user: zhengzaihong
 * Email:1096877329@qq.com
 * creat_date: 2018/6/26
 * creat_time: 16:58
 * describe
 **/
public class Constants {

    public static final String DATAPATTEN = "yyyy-MM-dd HH:mm";

    public static String getTypeFood(int type) {

        String name = "";
        switch (type) {
            case 1:
                name = "早餐";
                break;
            case 2:
                name = "午餐";
                break;
            case 3:
                name = "晚餐";
                break;
            case 4:
                name = "夜宵";
                break;

            default:
                break;
        }
        return name;
    }

    public static String getWeek(int week) {

        String name = "";
        switch (week) {
            case 0:
                name = "周一";
                break;
            case 1:
                name = "周二";
                break;
            case 2:
                name = "周三";
                break;
            case 3:
                name = "周四";
                break;
            case 4:
                name = "周五";
                break;
            case 5:
                name = "周六";
                break;
            case 6:
                name = "周日";
                break;
            default:
                break;
        }
        return name;
    }

}
